﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.Data.Entity;

namespace MMCInfo.Models
{
    public class DossierModel
    {
        [Required]
        public string Initialen { get; set; }
        /*[Required]
        public string Achternaam { get; set; }
        [Required]
        public string StraatEnNummer { get; set; }
        [Required]
        [RegularExpression(@"~\A[1-9]\d{3} ?[a-zA-Z]{2}\z~")]
        public string Postcode { get; set; }
        [Required]
        public string Woonplaats { get; set; }
        [Required]
        public string Telefoonnummer { get; set; }
        [Required]
        public string Geboortedatum { get; set; }
        [Required]
        public string Geslacht { get; set; }
        [Required]
        public string ZVID { get; set; }
        [Required]
        public string Polisnummer { get; set; }*/
    }

    public class DossierDbContext : DbContext
    {
        public DbSet<DossierModel> Dossiers { get; set; }
    }
}